home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
lists
/
gem
/
l_0399
/
279
< prev
next >
Wrap
Internet Message Format
|
1994-08-27
|
5KB
From: mforget@elfhaven.ersys.edmonton.ab.ca (Michel Forget)
Subject: Re: Shortcut Manager
Date: Fri, 3 Jun 1994 02:19:16 -0600
Mime-Version: 1.0
Precedence: bulk
In <memo.274025@cix.compulink.co.uk>, Andre Willey writes:
[Subject: Re: Shortcut Manager]
[> In <9406021115.AA07464=avg@mijt.cwi.nl>, Annius.Groenink@cwi.nl wrote:
[>
[> I disagree. The whole point is to keep the thing as *simple* as possible:
[> define general operations, and if an application doesn't support that
[> operation, don't load the shortcut. e.g. your example of DTP not needing
[> the explicit codes for Bold, Italic, etc. Fine, so DTP programs don't load
[> them. Equally, if we have a code for 'Font selector', that might not be
[> required by a simple text editor, but a DTP program should support it.
[>
[> Each program already *knows* what kind of application it is, and should
[> understand which shortcuts it can viably support, and which don't apply to
[> it.
Yes, I agree. Since each application knows what it supports and what it
does nto, it should only use the keyboard shortcuts for the general codes
that it supports.
[> In <9406021218.AA07652=avg@mijt.cwi.nl>, Annius.Groenink@cwi.nl wrote:
[>
[> > Actually, with the current easy of incorporating a resource
[> > in C (Interface and RSH format) I think all applications should
[> > protect their resources by including them into the binary.
[> >
[> > Who wants hacked versions of their software floating around?
[>
[> People in Germany who don't speak English, and vice versa? The RSC system
[> does make basic translations a lot simpler.
It does; including a resource in your source code is not as easy as using
a separate resource, and has the disadvantage of requiring a recompilation
for even minor changes to the resource. It also makes translation a lot
harder to do (though some authors do not want their programs translated).
[> In <9406021212.AA07620=avg@mijt.cwi.nl>, Annius.Groenink@cwi.nl wrote:
[>
[> > Let's continue as follows: we'll talk about what exactly we want in
[> > the KEYBIND.INF file, and what not. Then after a few days, based
[> > on the results of that discussion, I will put forward a definition
[> > of the file's syntax
[>
[> Oh, you will, will you...?
I think Annius wrote that before your proposal; now that you have already
proposed the syntax, there will be no need for anyone else to do so.
[> On the other hand, we could all discuss it here, then Ofir and I can make
[> any agreed revisions and put it into his amended proposal for the group.
[>
[> > In a very simple formalism. I'm convinced that we need to separate
[> > codes into default sections, class dedicated sections and
[> > application-specific codes.
[>
[> I think I've covered that already. What we could do is to allocate
[> blocks of numbers for very specific tasks, such as DTP, MIDI, etc.
[> Would that make you happier? (e.g. 1000+ for DTP-oriented tasks, 2000+
[> for MIDI, 3000+ for painting/photo/etc, 4000+ for Database, etc). Again
[> I wanted to avoid making this too complex - if it's hell to work with, no
[> one will bother.
As programmers, I do not think anyone will find this too complex. It does
not really matter how many codes there are, because the programmer would
only have to deal with the codes associated with his own type of
program.
[> > I think we shouldn't use 'codes'. Your formalism looks too much like
[> > ASSIGN.SYS, which IMHO is hard to grab for a naive user (it is hard
[> > enough to understand for me!)
[>
[> Hence the comments at the end of each line, which could be in any language
[> (or several, come to that). Parsing text is a waste of time for a program,
[> and rather annoying for non-English speakers, I guess. Let's keep it plain
[> and simple, and avoid creating something over-complex just for the hell of
[> it. Otherwise we might as well end up writing the thing in COBOL...
I agree; codes are the way to go. Parsing text is also a problem because
the user might edit the file (perhaps changing words or changing the
case of the text) and mess everything up. Numbers parsing is more
efficient anyway.
--
() ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ () ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ()
() Michel Forget / Electric Storm Software () My cat stole my ()
() mforget@elfhaven.ersys.edmonton.ab.ca () opinions, and pawned ()
() ess@tibalt.supernet.ab.ca () them off for milk. ()
() ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ () ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ()